import javax.swing.ImageIcon;
import java.util.*;

public class Empty extends Piece
{
	public Empty()
	{
		super();
		setImage(new ImageIcon("images/empty.gif", ""));
	}
	public Empty(int x, int y)
	{
		super(x, y, true);
		if(isBackgroundWhite())
		{
			setImage(new ImageIcon("images/emptyWhite.gif", ""));
		}
		else
		{
			setImage(new ImageIcon("images/emptyBlack.gif", ""));
		}
	}

	public void highlightRed()
	{
		setImage(new ImageIcon("images/tiger.gif", ""));
		setIsHighlightedRed(true);
	//	System.out.println("I am Highlighting myself!");
	}
	public void deHighlight()
	{
		if(isBackgroundWhite())
		{
			setImage(new ImageIcon("images/emptyWhite.gif", ""));
		}
		else
		{
			setImage(new ImageIcon("images/emptyBlack.gif", ""));
		}
		setIsHighlightedRed(false);
	}


	public ArrayList<Location> getPossibleMoves(Spot[][] spot)
	{
		/* No Possible Moves for an Empty
		 * 
		ArrayList<Location> list = new ArrayList<Location>();
		
		list.add(new Location(getX()-1, getY()));
		
		return list;
		*/		
		return new ArrayList<Location>();
	}

}
